package com.itheima.properties;

import java.io.FileReader;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.Properties;

public class Demo03 {

    public static void main(String[] args) throws IOException {

        Properties prop = new Properties();
        FileReader reader = new FileReader("day13\\rongliang.properties", Charset.forName("gbk"));
        prop.load(reader);
        System.out.println(prop);
        reader.close();
    }
}
